<#assign basePath=request.contextPath>
<#include "${basePath}/include.ftl" >
<body>
<div class="layui-container" style="padding: 15px 20px 20px 20px;">
    <form class="layui-form layui-form-pane" action="" id="form">
        <input type="hidden" name="dictCode" placeholder="字典编码" autocomplete="off" class="layui-input"  value="${dictData.dictCode}">
        <div class="layui-form-item">
            <label class="layui-form-label layui-input-required">字典标签:</label>
            <div class="layui-input-block">
                <input type="text" name="dictLabel" placeholder="请输入字典标签" autocomplete="off" class="layui-input"  validate="required" value="${dictData.dictLabel}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label layui-input-required">字典键值:</label>
            <div class="layui-input-block">
                <input type="text" name="dictValue" placeholder="请输入字典键值" autocomplete="off" class="layui-input"  validate="required" value="${dictData.dictValue}">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label layui-input-required">字典类型:</label>
            <div class="layui-input-block">
                <input type="text" name="dictType" placeholder="请输入字典类型" style="background-color: #eee;" autocomplete="off" class="layui-input"  readonly="readonly" value="${dictData.dictType}">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label layui-input-required">字典排序:</label>
            <div class="layui-input-block">
                <input type="number" name="dictSort" placeholder="请输入字典排序" autocomplete="off" class="layui-input" validate="required" value="${dictData.dictSort}">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label layui-input-required">回显样式:</label>
            <div class="layui-input-block">
                <select name="listClass" autocomplete="off"  validate="required" id="listClass">
                    <option value="primary" <#if (dictData.listClass =='primary')>selected</#if>>原始</option>
                    <option value="normal" <#if (dictData.listClass =='normal')>selected</#if>>>百搭</option>
                    <option value="warm" <#if (dictData.listClass =='warm')>selected</#if>>>暖色</option>
                    <option value="danger" <#if (dictData.listClass =='danger')>selected</#if>>>警告</option>
                </select>
            </div>
        </div>

        <div class="layui-form-item" pane="">
            <label class="layui-form-label layui-input-required">系统默认:</label>
            <div class="layui-input-block">
                <input type="radio" name="isDefault" value="Y" title="是" <#if (dictData.isDefault =='Y')>checked</#if>>
                <input type="radio" name="isDefault" value="N" title="否" <#if (dictData.isDefault =='N')>checked</#if>>
            </div>
        </div>

        <div class="layui-form-item" pane="">
            <label class="layui-form-label layui-input-required">字典状态:</label>
            <div class="layui-input-block">
                <input type="radio" name="status" value="0" title="正常" <#if (dictData.status =='0')>checked</#if>>
                <input type="radio" name="status" value="1" title="停用" <#if (dictData.status =='1')>checked</#if>>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">备注:</label>
            <div class="layui-input-block">
                <input type="text" name="remark" placeholder="请输入备注" autocomplete="off" class="layui-input"  value="${dictData.remark}">
            </div>
        </div>

    </form>
</div>
</body>
<script type="text/javascript" src="${baseApp}/system/dict/dictData/dictData_update.js"></script>
